<template>
    <el-breadcrumb :separator-icon="ArrowRight">
        <el-breadcrumb-item :to="{ path: '/over/view' }">首页</el-breadcrumb-item>
        <el-breadcrumb-item v-for="(item, index) in router.currentRoute.value.matched.filter(e => e.name != '首页')"
            :key="index">
            {{ item.name }}
        </el-breadcrumb-item>
    </el-breadcrumb>
</template>

<script setup lang="ts">
import router from '@/router'
import { ArrowRight } from '@element-plus/icons-vue'
</script>

<style scoped>
</style>